import { BrowserRouter,Route,Routes } from "react-router-dom";
import Login from "./pages/Login/login";
import Layout from "../src/layout/layout";
import AppRoutes from "./routes/AppRoutes";
import Dashboard from "./pages/Dashboard/dashboard";
function App() {
  return (
  <BrowserRouter>
    <Routes>
      <Route path="/" element={<Login/>}/>
       <Route path="/layout" element={<Layout/>}/>
       <Route path="/dashboard/*" element={<Dashboard/>}/>
    </Routes>
  </BrowserRouter>
  );
}

export default App;
